package com.forbet.demo.po;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/** 欧赔实体类
 * @author hading
 * @date 2023-11-23 21:15:19
 */
@Data
@TableName("europe_banker_info")
public class EuropeBankerInfoPO implements Serializable {

    private static final long serialVersionUID = 1L;

//    id
    @TableId(type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @TableField("banker_name")
    private String bankerName;

    @TableField("home_win_handicap")
    private BigDecimal homeWinHandicap;

    @TableField("home_draw_handicap")
    private BigDecimal homeDrawHandicap;

    @TableField("home_lose_handicap")
    private BigDecimal homeLoseHandicap;

    @TableField("create_time")
    private Date createTime;

    //    0:初盘  1:即盘
    @TableField("start_now_handicap_flag")
    private String startNowHandicapFlag;


    @TableField("play_info_id")
    private Long playInfoId;
}
